{include file='index/base/header' /}
<title>实验室管理系统</title>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i></div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <span><img alt="image" class="img-circle" src="__PUBLIC__/home/icon.jpg" width="70" height="70"/></span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="clear">
                                <span class="block m-t-xs">
                                    <strong class="font-bold">{$user.name}
                                        <br>
                                        <small>
                                            {switch $user.authority}
                                            {case 4}(系统管理员){/case}
                                            {case 3}(资产管理员){/case}
                                            {case 2}(实验室主任){/case}
                                            {case 1}(实验员){/case}
                                            {default /}(授权用户)
                                            {/switch}
                                        </small>
                                    </strong>
                                </span>
                                <span class="text-muted text-xs block"><b class="caret"></b></span>
                            </span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" href="person">个人资料</a>
                            </li>
                            <li><a class="J_menuItem" href="edit">编辑个人资料</a>
                            </li>
                            <li class="divider"></li>
                            <li><a href="loginout">安全退出</a>
                            </li>
                        </ul>
                    </div>
                    <div class="logo-element">实验室管理系统</div>
                </li>
                {if $user.authority=='4'}
                <li>
                    <a href="#">
                        <i class="fa fa fa-group"></i>
                        <span class="nav-label">用户管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="../User/user.html">用户列表</a>
                        </li>
                    </ul>
                </li>
                {/if}
                <li>
                    <a href="#">
                        <i class="fa fa fa-flask"></i>
                        <span class="nav-label">实验室设备管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="../Machine/machine.html">设备信息查询</a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="#">
                        <i class="fa fa fa-cubes"></i>
                        <span class="nav-label">耗材管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        {if $user.authority=='4' OR $user.authority=='2'OR $user.authority=='0'}
                        <li>
                            <a class="J_menuItem" href="../Material/apply_purchase.html">耗材购买申请</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="../Material/material_list.html">耗材购买申请记录</a>
                        </li>
                        {/if}
                        {if $user.authority=='4' OR $user.authority=='2'}
                        <li>
                            <a class="J_menuItem" href="../Material/check_purchase.html">审核购买申请</a>
                        </li>
                        {/if}
                        {if $user.authority=='4' OR $user.authority=='3'}
                        <li>
                            <a class="J_menuItem" href="../Material/disturb_material.html">分发耗材</a>
                        </li>
                        {/if}
                        {if $user.authority=='4' OR $user.authority=='2'}
                        <li>
                            <a class="J_menuItem" href="../Material/check_receive.html">审核领取申请</a>
                        </li>
                        {/if}
                        {if $user.authority=='4' OR $user.authority=='3'}
                        <li>
                            <a class="J_menuItem" href="../Material/into_repertory.html">耗材入库</a>
                        </li>
                        {/if}
                        <li>
                            <a class="J_menuItem" href="../Material/receive_list.html">个人申领记录</a>
                        </li>
                        {if $user.authority=='4' OR $user.authority=='3' OR $user.authority=='2' OR $user.authority=='0'}
                        <li>
                            <a class="J_menuItem" href="../Material/receive_material.html">耗材领取</a>
                        </li>
                        {/if}
                        {if $user.authority=='4' OR $user.authority=='3' OR $user.authority=='2'}
                        <li>
                            <a class="J_menuItem" href="../Material/search_material.html">耗材信息查询</a>
                        </li>
                        {/if}
                    </ul>
                </li>
                {if $user.authority=='4'OR $user.authority=='1'}
                <li>
                    <a href="#">
                        <i class="fa fa fa-calendar-check-o"></i>
                        <span class="nav-label">日志管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="../Worklog/work.html">查看工作日志</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="../Worklog/repair.html">查看维修日志</a>
                        </li>

                    </ul>
                </li>
                {/if}
                <li>
                    <a href="#">
                        <i class="fa fa-file-excel-o"></i>
                        <span class="nav-label">生成表</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="../Count/count.html">统计表</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="../Plan/plan.html">计划表</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="../Arrange/arrange.html">安排表</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a class="J_menuItem" href="loginout.html"><i class="fa fa-times"></i><span class="nav-label">安全退出</span></a>
                </li>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
<!--                        <div class="form-group">-->
<!--                            <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">-->
<!--                        </div>-->
                    </form>
                </div>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i></button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="friend">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span></button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a></li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>
                </ul>
            </div>
            <a href="loginout.html" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="home.html" frameborder="0" seamless data-id="home"></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
    <div class="footer">
        <div class="pull-right">&copy; 2021<a href="#" target="_blank">王宇哲</a></div>
    </div>
</div>
{include file='index/base/footer'/}